package com.bjb.vr.remote.ws.redis.constants;

public class RedisConstants {

    /**
     * websocket缓存超时时间
     */
    public final static  long WEBSOCKET_CLIENT_STATE_KEY_EXPIRE_TIME = 7200;//秒

    public final static  long WEBSOCKET_DB_OP_LOCK_KEY_EXPIRE_TIME = 5;//秒

    public final static  long WEBSOCKET_CLIENT_CONNECT_EXPIRE_TIME = 86400;//秒  24小时

    public final static  long  DEFAULT_EXPIRE_TIME = 7200;//秒

    /**
     * websocket连接id groupcode-udid
     */
    public final static String WEBSOCKET_CLIENT_ID = "websocket_connect_ids:";

    /**
     * 分组编码
     */
    public final static String WEBSOCKET_GROUP_CODE = "websocket_group_codes:";


    public final static String WEBSOCKET_DB_OP_LOCK_KEY = "websocket_db_op_lock_keys:";


    public final static String WEBSOCKET_IP_PORT_CLIENT_IDS = "websocket_ip_port_client_ids:";

    public final static String WEBSOCKET_DEV_CONNECT_IDS =  "websocket_dev_connect_ids:";

    /**
     * 一体机apk升级包下载进度keys
     */
    public final static String APK_UPGRADE_DOWNLOAD_PROGRESS_KEYS = "apk_upgrade_download_progress_keys:";


}
